/*
 * CustomLocal.java
 *
 * Created on 25 Oktober 2007, 15:20
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package org.kazao.calendar.sample;

import org.kazao.calendar.KazaoCalendarLocal;

/**
 *
 * @author    Mr. Kazao
 * Email    : m.jumari@gmail.com
 * Website  : http://mr.kazao.net
 * Phone    : +622743251763 +6281904091661
 */
public class CustomLocal extends KazaoCalendarLocal {
    
    /** Creates a new instance of CustomLocal */
    public CustomLocal() {
        // info shown in Calendar
        setInfoFormat("dddd, dd mmmm yyyy");
        // short date format
        setShortDateFormat("dd-mm-yyyy");
        // long date format
        setLongDateFormat("dddd, d mmmm yyyy");
        // time format
        setTimeFormat("hh:ii:ss");
        // datetime format
        setDateTimeFormat("dd-mm-yyyy hh:ii:ss");
        // array longday name
        setLongDay(new String[] {"Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"});
        // maximum of year
        setMaxYear(3000);
        // minimum of year
        setMinYear(1900);
        // array long month name
        setLongMonths(new String[] {"Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "Nopember", "Desember"});
        // array short day name
        setShortMonths(new String[] {"Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Agu", "Sep", "Okt", "Nop", "Des"});
        // array short month name
        setShortDay(new String[] {"Min", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab"});
        // start day 
        setStartDay(1);
        // type of day shown in calendar (s)hort | (l)ong
        setTypeOfDay('l');
    }
    
}
